package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "更新商品品牌 DTO")
public class UpdateBrandDTO {
    @NotNull
    @Schema(description = "品牌ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer id;

    @NotBlank
    @Schema(description = "品牌名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "品牌描述")
    private String description;

    @Schema(description = "Logo URL")
    private String logoUrl;

    @Schema(description = "状态（1启用，0禁用）")
    private Integer status;
}

